package com.suyang.syt.model;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "SYS_DICTIONARY")
@SuppressWarnings("serial")
public class Dictionary extends BaseTreeEntity {

	public Dictionary() {

	}

	public Dictionary(String name, String code, long pid, int orderIndex) {
		this.setName(name);
		this.setPid(pid);
		this.setCode(code);
		this.setOrderIndex(orderIndex);
		this.setState("open");
	}

}
